function createNumberArray<T>(length: number, value: T): T[] {
  return Array<T>(length).fill(value);
}

console.log(createNumberArray<number>(3, 100));

export {};
